<?php $page_title = 'ChaChaConga - Profile'; $page = 'Category';
include 'includes/header.php'; 

    /* Events */
    if($_GET['cat'] == 'events') {

        echo '<a href="category-list.php"><img src="images/header-events.jpg" border="0" /></a>';
        
        echo '    <div id="question-feed">
        <a href="view-question.php">
        <div class="question">
            <div class="heart"><img src="images/heart-off.gif" border="0" /></div>
            <p class="question-text">Q: Where and when is the Love\'s Lost Letters art event?</p>
            <p class="question-info-line">Asked <strong>10 SECONDS AGO</strong> by <strong>saraheart</strong></p>
        </div>
        </a>
        <div class="question">
            <div class="heart"><img src="images/heart-off.gif" border="0" /></div>
            <p class="question-text">Q: Where is Marmoset playing on Friday?</p>
            <p class="question-info-line">Asked <strong>35 SECONDS AGO</strong> by <strong>prettyjenny</strong></p>
        </div>
        <div class="question">
            <div class="heart"><img src="images/heart-off.gif" border="0" /></div>
            <p class="question-text">Q: What concert should I see this weekend?</p>
            <p class="question-info-line">Asked <strong>2 MINUTES AGO</strong> by <strong>pinethor</strong></p>
        </div>
        </div>';



    }
    
    /* Arts */
    if($_GET['cat'] == 'arts') {

        echo '<a href="category-list.php"><img src="images/header-arts.jpg" border="0" /></a>';
        
        echo '    <div id="question-feed">
        <a href="view-question.php">
        <div class="question">
            <div class="heart">';
                    if($_SESSION['heart'] == 1) echo '<a href="category.php?cat=arts&heart=0"><img src="images/heart-on.gif" border="0" /></a>';
                    else echo'<a href="category.php?cat=arts&heart=1"><img src="images/heart-off.gif" border="0" /></a>';
        echo '</div>
            <p class="question-text">Q: Where and when is the Love\'s Lost Letters art event?</p>
            <p class="question-info-line">Asked <strong>10 SECONDS AGO</strong> by <strong>saraheart</strong></p>
        </div>
        </a>
        <div class="question">
            <div class="heart"><img src="images/heart-off.gif" border="0" /></div>
            <p class="question-text">Q: Where is the best place to see art in the city?</p>
            <p class="question-info-line">Asked <strong>2 MINUTES AGO</strong> by <strong>JimmyJimmy</strong></p>
        </div>
        </div>';



    }


include 'includes/footer.php'; ?>